package android_serialport_api.bean;

/**
 * @author: created by gch
 * time: 2020/12/25 12:32
 * email: guchuanhang@126.com
 * 功能描述: 温度模块返回内容.
 * 设备类型：
 * 3111 = HPT 33°
 * 3112 = HPT 90°
 */
public class TempConfigBean {
    public long modelNO;
    public long sensorNO;
    public int deviceType;
    public int sendRate;//发射率
    public int firmwareVersion;

    public TempConfigBean(long modelNO, long sensorNO, int deviceType, int sendRate, int firmwareVersion) {
        this.modelNO = modelNO;
        this.sensorNO = sensorNO;
        this.deviceType = deviceType;
        this.sendRate = sendRate;
        this.firmwareVersion = firmwareVersion;
    }

    @Override
    public String toString() {
        return "TempConfigBean{" +
                "modelNO=" + modelNO +
                ", sensorNO=" + sensorNO +
                ", deviceType=" + deviceType +
                ", sendRate=" + sendRate +
                ", firmwareVersion=" + firmwareVersion +
                '}';
    }
}
